package queue.block;

/**
 * @author czt
 * @version 1.0
 * @since 2024/12/23
 */
public interface BlockingQueue<E> {

    void offer(E e) throws InterruptedException;

    boolean offer(E e, long timeout) throws InterruptedException;

    E poll() throws InterruptedException;
}
